﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.Dto
{
    public class UserListDto
    {
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? UserSex { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? UserAddress { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 省份外键
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 市区外键
        /// </summary>
        public int UrbanId { get; set; }
        /// <summary>
        /// 县城外键
        /// </summary>
        public int CountyId { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public int SectoriD { get; set; }

        public string? ProvinceName { get; set; }
        /// <summary>
        /// 县城名称
        /// </summary>
        public string? CountyName { get; set; }
        /// <summary>
        /// 市区名称
        /// </summary>
        public string? UrbanName { get; set; }

        public string? AddName { get; set; }
        public DateTime? AddTime { get; set; }
        public string? UpdateName { get; set; }
        public DateTime? UpdateTime { get; set; }
    }
}
